<template>
  <view class="nodata">
    <image src="@/static/images/nodata.png" mode=""></image>
    <text>{{ toast }}</text>
  </view>
</template>

<script>
export default {
  props: {
    toast: {
      default: "暂无数据",
    },
  },
  data() {
    return {};
  },
};
</script>

<style lang="scss" scoped>
.nodata {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  image {
    width: 520rpx;
    height: 520rpx;
  }
  text {
    color: rgba(80, 80, 80, 1);
    font-size: 28rpx;
    margin-top: 24rpx;
  }
}
</style>
